<template>
  <div class="itemMusicTop">
    <img :src="playList.coverImgUrl" class="bgImg">
    <div class="itemLeft" @click="$router.go(-1)">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-left-arrow"></use>
      </svg>
      <span>歌单</span>
    </div>
    <div class="itemRight">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-sousuo"></use>
      </svg>
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-31liebiao"></use>
      </svg>
    </div>
  </div>
</template>

<script setup>
const props = defineProps(["playList"])
</script>

<style lang="scss" scoped>
.itemMusicTop{
  width: 100%;
  height: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;

  .itemLeft,.itemRight{
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0.2rem;
    span{
      font-size: 0.4rem;
      color: #fff;
    }
    .icon{
      fill: #fff;
    }
  }

  .bgImg{
    width: 100%;
    height: 11rem;
    position: absolute;
    z-index: -1;
    filter: blur(30px);
  }
;
}
</style>